package com.tuananh.radnom.service.config.impl;

import java.util.ArrayList;

import com.tuananh.radnom.model.NetConn;
import com.tuananh.radnom.model.netpoller.PollScheduleInfo;
import com.tuananh.radnom.model.netpoller.PollPackage;
import com.tuananh.radnom.model.netservice.NetService;
import com.tuananh.radnom.persist.imp.xml.PollServiceXmlDAO;
import com.tuananh.radnom.service.config.IPollIngService;
import com.tuananh.radnom.service.monitor.impl.PollDaemon;
import com.tuananh.radnom.service.monitor.impl.PollRunner;

public class PollService implements IPollIngService {
	PollServiceXmlDAO pollXmlDAO;

	public PollServiceXmlDAO getPollXmlDAO() {
		return pollXmlDAO;
	}

	public void setPollXmlDAO(PollServiceXmlDAO pollXmlDAO) {
		this.pollXmlDAO = pollXmlDAO;
	}


	public boolean persit() {
		// TODO Auto-generated method stub
		return pollXmlDAO.persit();
	}

	public PollPackage getByName(String packageName) {
		// TODO Auto-generated method stub
		return null;
	}

	public ArrayList<PollPackage> getAllPackage() {
		// TODO Auto-generated method stub
		return pollXmlDAO.getAllPackage();
	}

	public boolean addPollPackage(PollPackage pollPack) {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean removePollPackage(String packageName) {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean updatePollPackage(PollPackage pollPack) {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean addService(String packageName, NetService netService) {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean removeService(String packageName, String serviceName) {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean updateService(String packageName, NetService netService) {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean addNetInt(String packageName, String netIntName) {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean removeNetInt(String packageName, String netIntName) {
		// TODO Auto-generated method stub
		return false;
	}
}
